import { ApiProperty } from '@nestjs/swagger';

export class CreateUserDto {
    @ApiProperty({ description: '用户ID', example: '' })
    Id: string;
    @ApiProperty({ description: '用户名', example: 'johndoe' })
    UserName: string; // 用户名
    @ApiProperty({ description: '密码', example: 'password123' })
    Password: string;  // 密码
    @ApiProperty({ description: '真实姓名', example: 'John Doe' })
    RealName: string;  //真实姓名
    @ApiProperty({ description: '手机号', example: '12345678901' })
    Phone: string;  // 手机号
    @ApiProperty({ description: '单位ID', example: 'company123' })
    companyId: string;  //单位id
    @ApiProperty({ description: '部门/班组ID', example: 'dept123' })
    deptId: string;  //部门/班组id
    @ApiProperty({ description: '岗位ID', example: 'duty123' })
    dutyId: string;  //岗位id
    @ApiProperty({ description: '角色ID', example: '1' })
    roleId: string;   // 角色Id
    @ApiProperty({ description: '用户状态', example: 1 })
    Status: number; // 用户状态，1为正常，0为禁用
}
